<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <style>
        .center {
            width: 100%;
            margin: 200px auto;
            text-align: center;
        }
    </style>
    <body>
        <div class="center">
            <H1>笑佬二开发登录系统</H1>
            <form th:action="@{/toMain}">
                账号:<input type="text" name="username"><br>
                密码:<input type="password" name="password"><br>
                <input type="checkbox" name="remember">记住我<br>
                <input type="submit" value="登录">
            </form>
        </div>
    </body>
</html>